
<!DOCTYPE HTML>
<html lang="zh" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>模板 · gitbook-official</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="snowdreams1006">
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../styles/website.css">
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="conrefs.html" />
    
    
    <link rel="prev" href="../ebook.html" />
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"snowdreams1006","repo":"gitbook-official","type":"star","size":"small"}]};
    </script>

    
        <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
    
    
        <link rel="bookmark" href="/bookmark.ico" type="image/x-icon">
    
    
        <link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152.png">
    
    
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/apple-touch-icon-precomposed-152.png">
    
    
        
        <link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120.png">
        
        <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180.png">
        
    
    
        
        <link rel="apple-touch-icon-precomposed" sizes="120x120" href="/apple-touch-icon-precomposed-120.png">
        
        <link rel="apple-touch-icon-precomposed" sizes="180x180" href="/apple-touch-icon-precomposed-180.png">
        
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="輸入並搜尋" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="https://snowdreams1006.tech/" target="_blank" class="custom-link">blog</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        <li class="header">入门</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    关于本文档
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../setup.html">
            
                <a href="../setup.html">
            
                    
                    安装和设置
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">基础</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="../structure.html">
            
                <a href="../structure.html">
            
                    
                    目录结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="../pages.html">
            
                <a href="../pages.html">
            
                    
                    菜单与页面
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="../config.html">
            
                <a href="../config.html">
            
                    
                    配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="../lexicon.html">
            
                <a href="../lexicon.html">
            
                    
                    词汇表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="../languages.html">
            
                <a href="../languages.html">
            
                    
                    多语言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="../syntax/markdown.html">
            
                <a href="../syntax/markdown.html">
            
                    
                    Markdown语法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="../syntax/asciidoc.html">
            
                <a href="../syntax/asciidoc.html">
            
                    
                    AsciiDoc语法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="../ebook.html">
            
                <a href="../ebook.html">
            
                    
                    生成电子书和PDF
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">定制</li>
        
        
    
        <li class="chapter active" data-level="3.1" data-path="./">
            
                <a href="./">
            
                    
                    模板
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1.1" data-path="conrefs.html">
            
                <a href="conrefs.html">
            
                    
                    内容引用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.2" data-path="variables.html">
            
                <a href="variables.html">
            
                    
                    变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.3" data-path="builtin.html">
            
                <a href="builtin.html">
            
                    
                    Builtin模板助手
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="../plugins/">
            
                <a href="../plugins/">
            
                    
                    插件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.2.1" data-path="../plugins/create.html">
            
                <a href="../plugins/create.html">
            
                    
                    创建插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.2" data-path="../plugins/hooks.html">
            
                <a href="../plugins/hooks.html">
            
                    
                    回调函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.3" data-path="../plugins/blocks.html">
            
                <a href="../plugins/blocks.html">
            
                    
                    块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.4" data-path="../plugins/filters.html">
            
                <a href="../plugins/filters.html">
            
                    
                    过滤器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.5" data-path="../plugins/api.html">
            
                <a href="../plugins/api.html">
            
                    
                    API＆Context
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.6" data-path="../plugins/testing.html">
            
                <a href="../plugins/testing.html">
            
                    
                    测试你的插件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="../themes/">
            
                <a href="../themes/">
            
                    
                    主题
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">插件开发</li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="../api/">
            
                <a href="../api/">
            
                    
                    插件简介
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.1.1" data-path="../api/node.html">
            
                <a href="../api/node.html">
            
                    
                    节点API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.2" data-path="../api/connect.html">
            
                <a href="../api/connect.html">
            
                    
                    连接到上下文
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.3" data-path="../api/components.html">
            
                <a href="../api/components.html">
            
                    
                    组件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.4" data-path="../api/i18n.html">
            
                <a href="../api/i18n.html">
            
                    
                    国际化
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.5" data-path="../api/navigation.html">
            
                <a href="../api/navigation.html">
            
                    
                    导航
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="divider"></li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="../contributing.html">
            
                <a href="../contributing.html">
            
                    
                    参与贡献
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2" data-path="../faq.html">
            
                <a href="../faq.html">
            
                    
                    常见问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.3" data-path="../examples.html">
            
                <a href="../examples.html">
            
                    
                    示例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.4" >
            
                <a target="_blank" href="https://github.com/GitbookIO/gitbook/blob/master/CHANGES.md">
            
                    
                    发行说明
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本書使用 GitBook 釋出
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >模板</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
<div id="vip-container">
    <h1 id="&#x6A21;&#x677F;">&#x6A21;&#x677F;</h1>
<p>GitBook&#x4F7F;&#x7528;<a href="https://mozilla.github.io/nunjucks/" target="_blank">Nunjucks&#x6A21;&#x677F;&#x8BED;&#x8A00;</a>&#x6765;&#x5904;&#x7406;&#x9875;&#x9762;&#x548C;&#x4E3B;&#x9898;&#x7684;&#x6A21;&#x677F;&#x3002;</p>
<p>Nunjucks&#x8BED;&#x6CD5;&#x4E0E;<strong>Jinja2</strong>&#x6216;<strong>Liquid</strong>&#x975E;&#x5E38;&#x76F8;&#x4F3C;&#x3002;&#x8BED;&#x6CD5;&#x4F7F;&#x7528;&#x5927;&#x62EC;&#x53F7;<code>{}</code>&#x6765;&#x6807;&#x8BB0;&#x9700;&#x8981;&#x5904;&#x7406;&#x7684;&#x5185;&#x5BB9;&#x3002;</p>
<h3 id="&#x53D8;&#x91CF;">&#x53D8;&#x91CF;</h3>
<p>&#x53D8;&#x91CF;&#x4ECE;&#x6A21;&#x677F;&#x4E0A;&#x4E0B;&#x6587;&#x4E2D;&#x67E5;&#x627E;&#x503C;&#x3002;&#x5982;&#x679C;&#x4F60;&#x60F3;&#x7B80;&#x5355;&#x5730;&#x663E;&#x793A;&#x4E00;&#x4E2A;&#x53D8;&#x91CF;&#xFF0C;&#x4F60;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;<code>{{variable}}</code>&#x8BED;&#x6CD5;&#x3002;&#x4F8B;&#x5982; &#xFF1A;</p>
<pre><code class="lang-twig"><span class="xml">&#x6211;&#x7684;&#x540D;&#x5B57;&#x662F;</span><span class="hljs-template-variable">{{ name }}</span><span class="xml">&#xFF0C;&#x5F88;&#x9AD8;&#x5174;&#x89C1;&#x5230;&#x4F60;
</span></code></pre>
<p>&#x5B83;&#x4ECE;&#x4E0A;&#x4E0B;&#x6587;&#x4E2D;&#x67E5;&#x627E;&#x7528;&#x6237;&#x540D;&#x5E76;&#x663E;&#x793A;&#x5B83;&#x3002;&#x53D8;&#x91CF;&#x540D;&#x79F0;&#x5728;&#x5176;&#x4E2D;&#x53EF;&#x4EE5;&#x6709;&#x70B9;&#x50CF;&#x67E5;&#x627E;&#x5C5E;&#x6027;&#xFF0C;&#x5C31;&#x50CF;JavaScript&#x3002;&#x60A8;&#x8FD8;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x65B9;&#x62EC;&#x53F7;&#x8BED;&#x6CD5;&#x3002;</p>
<pre><code class="lang-twig"><span class="xml"></span><span class="hljs-template-variable">{{ foo.bar }}</span><span class="xml">
</span><span class="hljs-template-variable">{{ foo[&quot;bar&quot;] }}</span><span class="xml">
</span></code></pre>
<p>&#x5982;&#x679C;&#x503C;&#x672A;&#x5B9A;&#x4E49;&#xFF0C;&#x5219;&#x4E0D;&#x663E;&#x793A;&#x4EFB;&#x4F55;&#x5185;&#x5BB9;&#x3002;&#x5982;&#x679C;foo&#x672A;&#x5B9A;&#x4E49;&#xFF0C;&#x4E0B;&#x9762;&#x7684;&#x6240;&#x6709;&#x8F93;&#x51FA;&#x90FD;&#x4E0D;&#x4F1A;&#x8F93;&#x51FA;&#xFF1A;<code>{{ foo }}</code>, <code>{{ foo.bar }}</code>, <code>{{ foo.bar.baz }}</code>&#x3002;</p>
<p>GitBook&#x63D0;&#x4F9B;&#x4E86;<a href="variables.html">&#x9884;&#x5B9A;&#x4E49;&#x53D8;&#x91CF;</a>&#x3002;</p>
<h3 id="&#x8FC7;&#x6EE4;&#x5668;">&#x8FC7;&#x6EE4;&#x5668;</h3>
<p>&#x8FC7;&#x6EE4;&#x5668;&#x672C;&#x8D28;&#x4E0A;&#x662F;&#x53EF;&#x4EE5;&#x5E94;&#x7528;&#x4E8E;&#x53D8;&#x91CF;&#x7684;&#x51FD;&#x6570;&#x3002;&#x5B83;&#x4EEC;&#x7528;&#x7BA1;&#x9053;&#x64CD;&#x4F5C;&#x7B26;(<code>|</code>)&#x8C03;&#x7528;&#xFF0C;&#x5E76;&#x4E14;&#x53EF;&#x4EE5;&#x63A5;&#x53D7;&#x53C2;&#x6570;&#x3002;</p>
<pre><code class="lang-twig"><span class="xml"></span><span class="hljs-template-variable">{{ foo | title }}</span><span class="xml">
</span><span class="hljs-template-variable">{{ foo | join(&quot;,&quot;) }}</span><span class="xml">
</span><span class="hljs-template-variable">{{ foo | replace(&quot;foo&quot;, &quot;bar&quot;) | capitalize }}</span><span class="xml">
</span></code></pre>
<p>&#x7B2C;&#x4E09;&#x4E2A;&#x4F8B;&#x5B50;&#x663E;&#x793A;&#x4E86;&#x5982;&#x4F55;&#x94FE;&#x5F0F;&#x4F7F;&#x7528;&#x8FC7;&#x6EE4;&#x5668;&#x3002;&#x9996;&#x5148;&#x7528;&#x201C;bar&#x201D;&#x66FF;&#x6362;&#x201C;foo&#x201D;&#xFF0C;&#x7136;&#x540E;&#x5C06;&#x5176;&#x5927;&#x5199;&#xFF0C;&#x6700;&#x540E;&#x8F93;&#x51FA;&#x4E3A;&#x201C;Bar&#x201D;&#xFF0C;&#x3002;</p>
<h3 id="&#x6761;&#x4EF6;&#x5224;&#x65AD;">&#x6761;&#x4EF6;&#x5224;&#x65AD;</h3>
<h5 id="if">if</h5>
<p><code>if</code> &#x6839;&#x636E;&#x6761;&#x4EF6;&#x9009;&#x62E9;&#x663E;&#x793A;&#x5185;&#x5BB9;&#x3002;&#x5B83;&#x7684;&#x884C;&#x4E3A;&#x4E0E;JavaScript&#x7684;<code>if</code>&#x884C;&#x4E3A;&#x5B8C;&#x5168;&#x4E00;&#x6837;&#x3002;</p>
<pre><code class="lang-twig"><span class="xml"></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">if</span></span> variable %}</span><span class="xml">
  It is true
</span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">endif</span></span> %}</span><span class="xml">
</span></code></pre>
<p>&#x5982;&#x679C;&#x53D8;&#x91CF;&#x88AB;&#x5B9A;&#x4E49;&#x5E76;&#x4E14;&#x8BA1;&#x7B97;&#x7ED3;&#x679C;&#x4E3A;true&#xFF0C;&#x5C06;&#x663E;&#x793A;&#x201C;It is true&#x201D;&#x3002;&#x5426;&#x5219;&#xFF0C;&#x4EC0;&#x4E48;&#x90FD;&#x4E0D;&#x4F1A;&#x3002;</p>
<p>&#x60A8;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;<code>elif</code>&#x548C;<code>else</code>&#x6307;&#x5B9A;&#x66FF;&#x4EE3;&#x6761;&#x4EF6;&#xFF1A;</p>
<pre><code class="lang-twig"><span class="xml"></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">if</span></span> hungry %}</span><span class="xml">
  I am hungry
</span><span class="hljs-template-tag">{% <span class="hljs-name">elif</span> tired %}</span><span class="xml">
  I am tired
</span><span class="hljs-template-tag">{% <span class="hljs-name">else</span> %}</span><span class="xml">
  I am good!
</span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">endif</span></span> %}</span><span class="xml">
</span></code></pre>
<h5 id="for">for</h5>
<p><code>for</code>&#x904D;&#x5386;&#x6570;&#x7EC4;&#x548C;&#x5BF9;&#x8C61;&#x3002;</p>
<pre><code class="lang-twig"><span class="xml"># Chapters about GitBook

</span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">for</span></span> article in glossary.terms[&apos;gitbook&apos;].articles %}</span><span class="xml">
* [</span><span class="hljs-template-variable">{{ article.title }}</span><span class="xml">](</span><span class="hljs-template-variable">{{ article.path }}</span><span class="xml">)
</span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">endfor</span></span> %}</span><span class="xml">
</span></code></pre>
<h5 id="set">set</h5>
<p><code>set</code>&#x5141;&#x8BB8;&#x4F60;&#x521B;&#x5EFA;/&#x4FEE;&#x6539;&#x4E00;&#x4E2A;&#x53D8;&#x91CF;&#x3002;</p>
<pre><code class="lang-twig"><span class="xml"></span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">set</span></span> softwareVersion = &quot;1.0.0&quot; %}</span><span class="xml">

Current version is </span><span class="hljs-template-variable">{{ softwareVersion }}</span><span class="xml">.
[Download it](website.com/download/</span><span class="hljs-template-variable">{{ softwareVersion }}</span><span class="xml">)
</span></code></pre>
<h5 id="&#x5185;&#x5BB9;&#x5F15;&#x7528;">&#x5185;&#x5BB9;&#x5F15;&#x7528;</h5>
<p>&#x8BF7;&#x67E5;&#x770B;<a href="conrefs.html">&#x5185;&#x5BB9;&#x5F15;&#x7528;</a>&#x90E8;&#x5206;&#x4E2D;&#x7684;&#x8BF4;&#x660E;&#x3002;</p>
<h3 id="&#x539F;&#x59CB;&#x8F93;&#x51FA;">&#x539F;&#x59CB;&#x8F93;&#x51FA;</h3>
<p>&#x4F7F;&#x7528;raw&#x53EF;&#x4EE5;&#x5C06;&#x5185;&#x5BB9;&#x4F5C;&#x4E3A;&#x7EAF;&#x6587;&#x672C;&#x8F93;&#x51FA;&#xFF0C;&#x6A21;&#x677F;&#x548C;&#x6807;&#x7B7E;&#x7684;&#x683C;&#x5F0F;&#x4E5F;&#x4F1A;&#x4E00;&#x6837;&#x3002;</p>
<pre><code class="lang-twig"><span class="xml"></span><span class="hljs-template-tag">{% <span class="hljs-name">raw</span> %}</span><span class="xml">
  this will </span><span class="hljs-template-variable">{{ not be processed }}</span><span class="xml">
</span><span class="hljs-template-tag">{% <span class="hljs-name">endraw</span> %}</span><span class="xml">
</span></code></pre>
<pre><code class="lang-html">&#x4F5C;&#x8005;: &#x96EA;&#x4E4B;&#x68A6;&#x6280;&#x672F;&#x9A7F;&#x7AD9;
&#x94FE;&#x63A5;: https://snowdreams1006.github.io/gitbook-official/zh/templating/
&#x6765;&#x6E90;: &#x96EA;&#x4E4B;&#x68A6;&#x6280;&#x672F;&#x9A7F;&#x7AD9;
&#x672C;&#x6587;&#x539F;&#x521B;&#x53D1;&#x5E03;&#x4E8E;&#x300C;&#x96EA;&#x4E4B;&#x68A6;&#x6280;&#x672F;&#x9A7F;&#x7AD9;&#x300D;,&#x8F6C;&#x8F7D;&#x8BF7;&#x6CE8;&#x660E;&#x51FA;&#x5904;,&#x8C22;&#x8C22;&#x5408;&#x4F5C;!
</code></pre>
<p><img src="https://snowdreams1006.github.io/snowdreams1006-wechat-open.png" alt="https://snowdreams1006.github.io/snowdreams1006-wechat-open.png"></p>
<div id="gitalk-container"></div>
</div>

                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../ebook.html" class="navigation navigation-prev " aria-label="Previous page: 生成电子书和PDF">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="conrefs.html" class="navigation navigation-next " aria-label="Next page: 内容引用">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"模板","level":"3.1","depth":1,"next":{"title":"内容引用","level":"3.1.1","depth":2,"path":"templating/conrefs.md","ref":"templating/conrefs.md","articles":[]},"previous":{"title":"生成电子书和PDF","level":"2.8","depth":1,"path":"ebook.md","ref":"ebook.md","articles":[]},"dir":"ltr"},"config":{"plugins":["favicon-absolute","github-buttons","edit-link-plus","openwrite","copyright","mygitalk","multilingual-index"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"copyright":{"site":"https://snowdreams1006.github.io/gitbook-official","author":{"en":"snowdreams1006","zh":"雪之梦技术驿站"},"website":{"en":"snowdreams1006's Gitbook","zh":"雪之梦技术驿站"},"image":{"en":"https://snowdreams1006.github.io/snowdreams1006-wechat-open.png","zh":"https://snowdreams1006.github.io/snowdreams1006-wechat-open.png"}},"search":{},"edit-link-plus":{"label":{"en":"Edit This Page","zh":"编辑本页"},"base":{"snowdreams1006.github.io":"https://github.com/snowdreams1006/gitbook-official/edit/master","snowdreams1006.gitlab.io":"https://gitlab.com/snowdreams1006/gitbook-official/edit/master","snowdreams1006.gitee.io":"https://gitee.com/snowdreams1006/gitbook-official/edit/master"},"defaultBase":"https://github.com/snowdreams1006/gitbook-official/edit/master"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"favicon-absolute":{"appleTouchIconMore":{"120x120":"/apple-touch-icon-120.png","180x180":"/apple-touch-icon-180.png"},"appleTouchIconPrecomposed152":"/apple-touch-icon-precomposed-152.png","appleTouchIconPrecomposedMore":{"120x120":"/apple-touch-icon-precomposed-120.png","180x180":"/apple-touch-icon-precomposed-180.png"},"favicon":"/favicon.ico","bookmark":"/bookmark.ico","appleTouchIcon152":"/apple-touch-icon-152.png"},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"openwrite":{"blogId":"15702-1569305559839-744","name":"雪之梦技术驿站","qrcode":"https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg","keyword":"vip"},"multilingual-index":{"enableSuper":false,"index":"index.html"},"github-buttons":{"buttons":[{"user":"snowdreams1006","repo":"gitbook-official","type":"star","size":"small"}]},"mygitalk":{"flipMoveOptions":{},"clientID":"3f62415a283d19cbd696","number":-1,"perPage":10,"proxy":"https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token","admin":["snowdreams1006"],"createIssueManually":false,"distractionFreeMode":false,"repo":"gitbook-official","owner":"snowdreams1006","enableHotKey":true,"clientSecret":"aed0e1db0620bf5d0e3a3f0225f801997ad74e58","pagerDirection":"last","labels":["Gitalk"]},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"snowdreams1006","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"gitbook-official","language":"zh","links":{"sidebar":{"blog":"https://snowdreams1006.tech/"}},"gitbook":"*","description":"gitbook document"},"file":{"path":"templating/README.md","mtime":"2019-12-09T09:21:34.904Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-12-10T00:16:34.934Z"},"basePath":"..","book":{"language":"zh"}});
        });
    </script>
</div>

        

    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-edit-link-plus/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-copyright/copyright.js"></script>
        
    
        
        <script src="https://cdn.bootcss.com/blueimp-md5/2.12.0/js/md5.min.js"></script>
        
    
        
        <script src="https://unpkg.com/gitalk/dist/gitalk.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-mygitalk/mygitalk.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

<script src="https://my.openwrite.cn/js/readmore.js" type="text/javascript"></script>
<script>
var isMobile = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);
if (!isMobile) {
    var btw = new BTWPlugin();
    btw.init({
        "id": "vip-container",
        "blogId": "15702-1569305559839-744",
        "name": "雪之梦技术驿站",
        "qrcode": "https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg",
        "keyword": "vip"
    });
}
</script>

    </body>
</html>

